<div class="select-dialog">
  <d-button bsStyle="common" size="sm" style="margin-bottom: 8px;" (click)="clearSelection()">清除选择</d-button>
  <d-data-table [dataSource]="list" [scrollable]="true" [fixHeader]="true">
    <thead dTableHead>
      <tr dTableRow>
        <th dHeadCell>选择</th>
        <th dHeadCell>物流公司编码</th>
        <th dHeadCell>物流公司名称</th>
        <th dHeadCell>联系人</th>
        <th dHeadCell>联系电话</th>
        <th dHeadCell>地址</th>
      </tr>
    </thead>
    <tbody dTableBody>
      <ng-template let-rowItem="rowItem" let-rowIndex="rowIndex">
        <tr dTableRow>
          <td dTableCell>
            <label class="custom-radio">
              <input type="radio" name="radio-group" [checked]="rowItem.checked" (change)="radio($event, rowItem)">
              <span class="checkmark"></span>
            </label>
          </td>
          <td dTableCell>{{ rowItem.logisticsCode }}</td>
          <td dTableCell>{{ rowItem.companyName }}</td>
          <td dTableCell>{{ rowItem.contactName }}</td>
          <td dTableCell>{{ rowItem.contactPhone }}</td>
          <td dTableCell>{{ rowItem.address }}</td>
        </tr>
      </ng-template>
    </tbody>
  </d-data-table>
</div>
